<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN" xml:lang="zh-CN"> 
<head> 
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
	<meta name="keywords" content="tinytui,tinytui2,twitter" /> 
	<meta name="description" content="Provide a filtering mechanism to solve the problem of Information Overload." /> 
	<title>TinyTui2 - For your free tweets...</title> 
	<style type="text/css" media="all"> 
		@import url("{{$res}}/css/global.css");
        #header{ width:250px; height:100px; padding:3px; margin:auto; text-align:center;}
        #install_main{ width:750px; border:1px solid #629A00; padding:20px; margin:auto; background:white; overflow:hidden; }
        #install_main ul{clear:both;}
        #install_main ul li{ height:25px; padding-top:5px; float:left; }

        #install_main ul .install_title{ width:750px; height:30px; font-size:12pt; font-weight:bold; text-align:center; }
        #install_main ul .install_desc{ width:750px; height:30px; font-size:9pt; font-weight:bold; text-align:center; color:#888; }
        #install_main ul .line_title{width:300px; text-align:right;}
        #install_main ul .install_btn_box{ width:750px; height:40px; padding-top:10px; text-align:center; }
        #install_main ul .install_btn_box input{
            border-color:#CCCCCC #999999 #999999 #CCCCCC; font-weight:bold;
            border-right:3px double #999999;border-style:double;border-width:3px;
            color:#333333;height:38px; width:120px; cursor:pointer;
        }
	</style> 
</head> 
<body> 
<div id="header"><img src="{{$res}}/images/tinytui2_logo.gif" alt="tinytui2 logo" /></div>
<div id="install_main">
    <ul><li class="install_title">TinyTui2安装程序</li></ul>
    {{if $success == 1}}
    <ul>
        <li class="install_desc" style="color:red;padding-top:50px;font-size:11pt;">
            同学，恭喜你，安装成功了，请删除“install”目录，然后开始你的Twitter叽叽歪歪之旅吧！
        </li>
        <ul>
            <li class="install_desc">
                最新的程序更新，请关注我们的项目主页：<a href="http://code.google.com/p/tinytui2/">http://code.google.com/p/tinytui2/</a>
            </li>
        </ul>
        <ul>
            <li class="install_desc" style="height:80px;padding-top:50px;">
                <a href="/">回到我的首页&gt;&gt;&gt;</a>
            </li>
        </ul>
    </ul>
    {{else}}
    <form action="index.php?act=install" method="post">
    <ul><li class="install_desc">（以下，除Password允许为空，其余都为必填项，我懒得做判断了，当然不填也可以，安装不成功别说我程序有BUG就是！）</li></ul>
    {{if $error == 1}}
    <ul><li class="install_desc" style="color:red;">同学，测试我是吧？你以为我说不判断就真不判断了呀？如上文所表，下面都是必填项，必须填！</li></ul>
    {{/if}}
    <ul>
        <li class="line_title">MySQL Host：</li>
        <li><input type="text" name="db_host" style="width:250px;" /></li>
    </ul>
    <ul>
        <li class="line_title">MySQL DataBaseName：</li>
        <li><input type="text" name="db_name" style="width:250px;" /></li>
    </ul>
    <ul>
        <li class="line_title">MySQL UserName：</li>
        <li><input type="text" name="db_uname" style="width:250px;" /></li>
    </ul>
    <ul>
        <li class="line_title">MySQL PassWord：</li>
        <li><input type="text" name="db_upwd" style="width:250px;" /></li>
    </ul>
    <ul><li class="install_btn_box"><input type="submit" value="开始安装啦！" /></li></ul>
    </form>
    {{/if}}
</div> 
</body> 
</html>